// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue';
import App from './App';
import resource from 'vue-resource';
import myResource from './resource/myResource';
import  vueUi from 'element-ui';
import router from './router';
Vue.use(resource);
Vue.use(vueUi);
/* eslint-disable no-new */
for(var key in myResource){
  (Vue.prototype)[key]=myResource[key];
};
var app=new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
});



